#define _CRT_SECURE_NO_WARNINGS 1

#include "stack.h"

void test01()
{
	Stack s;
	StackInit(&s);

	StackPush(&s, 1);

	StackPush(&s, 2);
	StackPush(&s, 3);

	StackPush(&s, 4);
	StackPush(&s, 5);
	Stackprint(&s);

	StackPop(&s);
	printf("%d \n", StackTop(&s));

	printf("%d \n", StackSize(&s));

}
int main()
{
	test01();
	return 0;
}